/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfophone.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.campusinfophone.entity.CampusinfoPhone;
import com.lczyfz.campusinfo.modules.campusinfophone.dao.CampusinfoPhoneDao;

/**
 * 联系方式Service
 * @author zms
 * @version 2018-05-14
 */
@Service
@Transactional(readOnly = true)
public class CampusinfoPhoneService extends CrudService<CampusinfoPhoneDao, CampusinfoPhone> {

	public CampusinfoPhone get(String id) {
		return super.get(id);
	}
	
	public List<CampusinfoPhone> findList(CampusinfoPhone campusinfoPhone) {
		return super.findList(campusinfoPhone);
	}
	
	public Page<CampusinfoPhone> findPage(Page<CampusinfoPhone> page, CampusinfoPhone campusinfoPhone) {
		return super.findPage(page, campusinfoPhone);
	}
	
	@Transactional(readOnly = false)
	public void save(CampusinfoPhone campusinfoPhone) {
		super.save(campusinfoPhone);
	}
	
	@Transactional(readOnly = false)
	public void delete(CampusinfoPhone campusinfoPhone) {
		super.delete(campusinfoPhone);
	}
	
}